//package com.example.rbac.mq.send;
//
//import com.example.rbac.entity.Message;
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.amqp.rabbit.support.CorrelationData;
//
//public interface SendHandleInterface extends RabbitTemplate.ConfirmCallback, RabbitTemplate.ReturnCallback{
//
//    Object send(Message message, String routingKey);
//
//    Object sendFanout(Message message, String exchange);
//
//    @Override
//    void confirm(CorrelationData correlationData, boolean b, String s);
//
//    @Override
//    void returnedMessage(org.springframework.amqp.core.Message message, int i, String s, String s1, String s2);
//}
